Automattic\Jetpack\Waf\Waf_Stats S

Total Complexity 23
Dependencies 4
Dependents 3
Total lines 166
Lines of code 71
Logical lines of code 39
Comment lines 63
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
get_global_stats()
S
59 7 14
fetch_global_stats_from_api()
S
59 4 12
get_ip_allow_list_count()
S
65 2 9
get_ip_block_list_count()
S
65 2 9
is_global_stats_cache_expired()
S
69 2 7
should_use_global_stats_cache()
S
78 2 3
get_blocked_requests()
S
69 1 7
get_rules_version()
S
75 1 4
get_automatic_rules_last_updated()
S
80 1 3
get_global_stats_from_options()
S
79 1 3